<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("#backBTN").click(function(){
                window.location.href="__APP__/News/index";
            });
        });
    </script>
</head>
<body>
<input type="button" id="backBTN" value="返回">
<form action="__APP__/News/insert" method="post">
    <table>
        <tr>
            <th>文章类型</th>
            <td>
                <select name="newstype">
                    <option value="-1">
                        请选择文章类型
                    </option>
                    <volist name="typeList" id="type">
                        <option value="{$type['id']}">
                            {$type["typename"]}
                        </option>
                    </volist>
                </select>
            </td>
        </tr>
        <tr>
            <th>标题</th>
            <td><input type="text" name="title" size="80"></td>
        </tr>
        <tr>
            <th>文章索引</th>
            <td><textarea rows="5" cols="80" name="newsindex"></textarea></td>
        </tr>
        <tr>
            <th>正文</th>
            <td><textarea rows="10" cols="120" name="content"></textarea></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="确认添加">
            </td>
        </tr>
    </table>
</form>
</body>
</html>